import {yearDayLine} from "@/utils/util"
export default {
  data: [
    {
      name: '每日学生出勤统计表',
      url: 'student_sign/day_export',
      query:{
        start_time: yearDayLine(new Date())
      },
      needQuery:['day'],
      disabled: ['start_time'],
      fileName: ['start_time']
    },
    {
      name: '每月学生出勤统计表',
      url: 'student_sign_export/export_month_sum',
      query:{
        month: ''
      },
      needQuery:['month'],
      disabled: ['month'],
      fileName: ['month']
    },
    {
      name: '学期出勤率统计表',
      url: 'student_sign_export/export_semester_sum',
      query:{
        semester_id: ''
      },
      needQuery:['semester'],
      disabled: ['semester_id'],
      fileName: ['semester']
    },
    {
      name: '学期月出勤表',
      url: 'student_sign_export/semester_month',
      query:{
        semester_id: ''
      },
      needQuery:['semester'],
      disabled: ['semester_id'],
      fileName: ['semester']
    }
  ]
}
